LOCAL_PATH:=$(call my-dir)
include $(LOCAL_PATH)/third_part/android/prebuilt/libpng/Android.mk

LOCAL_PATH:=/cygdrive/d/developer/workspace/CppEngineTest/trunk/TestCode/TestCode
include	$(CLEAR_VARS)

LOCAL_MODULE := test_code_engine

LOCAL_MODULE_FILENAME := lib_test_code_engine

LOCAL_SRC_FILES := \
TCCommon.cpp \
AutoReleaseObject.cpp \
AutoReleasePool.cpp \
TCTexture.cpp \
TextureRegion.cpp \
TCRender.cpp \
TCBitmap.cpp \
TCFileUtils.cpp \
TCPngUtils.cpp \
TCApplication_android.cpp \
TCResources.cpp \
third_part/zip_support/ioapi.c \
third_part/zip_support/unzip.c \

LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/ \
$(LOCAL_PATH)/zlib \
$(LOCAL_PATH)/third_part/zip_support \

LOCAL_EXPORT_LDLIBS := -llog\
                       -lz \
                       -lGLESv1_CM

LOCAL_C_INCLUDES := $(LOCAL_PATH)/ \
$(LOCAL_PATH)/zlib \
$(LOCAL_PATH)/third_part/zip_support \

LOCAL_LDLIBS := -lGLESv1_CM \
                -llog \
                -lz 
				
LOCAL_WHOLE_STATIC_LIBRARIES := testcode_libpng_static
include $(BUILD_STATIC_LIBRARY)